package com.hbnu.system.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@ApiModel(value = "PaperVO对象", description = "返回Paper页面的数据")
public class PaperVO {

    @ApiModelProperty(value = "主键")
    private String PaperID;

    @ApiModelProperty(value = "论文名称")
    private String paperName;


    @ApiModelProperty(value = "刊物分类")
    private String periodicalCate;

    @ApiModelProperty(value = "刊物名称")
    private String periodicalName;

    @ApiModelProperty(value = "出版、发变、使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate publicationTime;

    @ApiModelProperty(value = "所有作者")
    private String allAuthorName;

    @ApiModelProperty(value = "状态")
    private String status;


    @ApiModelProperty(value="量化分数")
    @TableField(value = "score")
    private float score;

    @ApiModelProperty(value="未通过原因")
    @TableField(value = "reason")
    private String reason;


}
